package top.aicey.ai.sparring.dto.model;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.*;


@Data
@ApiModel("用户信息")
@NoArgsConstructor
@RequiredArgsConstructor
public class UserInfo {

    @NonNull
    private Long id;

    @JSONField(name = "user_id")
    @JsonProperty(value = "user_id")
    private String userId;

    /**
     * 成员名称
     */
    @NonNull
    private String name;


    /**
     * 头像url
     */
    private String avatar;
}
